{$CLEO .cs}
{$USE cleo+}
0000:
   
    
    
 

:RESPAWN 

while true 
wait 0
   if 
   00FE:    actor $PLAYER_ACTOR sphere 0 in_sphere  5368.2241 -2731.4321 10.9878 radius 130.0 130.0 130.0

   then
       break
   end
   if $onmission == 0 
   then
       jump @end
   end
end 
                    
0376: 1@ = create_random_actor_at  5368.2241 -2731.4321 10.9878
0376: 2@  = create_random_actor_at 5368.6519 -2738.1016 10.9878 
0376:  3@ = create_random_actor_at 5363.2598 -2736.3613 10.9878 
0376:  4@ = create_random_actor_at 5371.2217 -2729.7466 10.9878 
 
actor.Health(1@)=500
actor.Health(2@)=500
actor.Health(3@)=500
actor.Health(4@)=500 
0446: set_actor 1@ dismemberment_possible 0
0446: set_actor 2@ dismemberment_possible 0
0446: set_actor 3@ dismemberment_possible 0
0446: set_actor 4@ dismemberment_possible 0 
0946: set_actor 1@ actions_uninterupted_by_weapon_fire 1
0946: set_actor 2@ actions_uninterupted_by_weapon_fire 1
0946: set_actor 3@ actions_uninterupted_by_weapon_fire 1
0946: set_actor 4@ actions_uninterupted_by_weapon_fire 1  

07DD: set_actor 1@ attack_rate 50 // previously known as temper_to
07DD: set_actor 2@ attack_rate 50 // previously known as temper_to
07DD: set_actor 3@ attack_rate 50 // previously known as temper_to
07DD: set_actor 4@ attack_rate 50 // previously known as temper_to 
077A: set_actor 1@ acquaintance 3 to_actors_pedtype 6 // see ped.dat
077A: set_actor 2@ acquaintance 3 to_actors_pedtype 6 // see ped.dat
077A: set_actor 3@ acquaintance 3 to_actors_pedtype 6 // see ped.dat
077A: set_actor 4@ acquaintance 3 to_actors_pedtype 6 // see ped.dat 
05E2: AS_actor 1@ kill_actor 2@
05E2: AS_actor 3@ kill_actor 4@ 
07FE: set_actor 1@ fighting_style_to 7 moves 6
07FE: set_actor 2@ fighting_style_to 15 moves 6
07FE: set_actor 3@ fighting_style_to 6 moves 6
07FE: set_actor 4@ fighting_style_to 5 moves 6 
 
while true 
wait 0
   if  or 
    $onmission == 0
   80FE: not  actor $PLAYER_ACTOR sphere 0 in_sphere   5368.2241 -2731.4321 10.9878 radius 130.0 130.0 130.0

   then
       break
   end
end 



:CLEANUP
actor.DestroyInstantly(1@)
actor.DestroyInstantly(2@)
actor.DestroyInstantly(3@)
actor.DestroyInstantly(4@) 
if    $onmission == 0
then
   jump @end
else 
   jump @RESPAWN 
end

:end 
end_thread